# -*- coding: utf-8 -*-

from w.blocks.containers.ulist import UList

from w.html.doctypes.preferable import A, P

class Menu(UList):
    def make(self, content=[]):
        if not content:
            content = self
        return UList.make(self, [A(P(name), hhref=url) for name, url in content])

